package com.cloudwise.monitoring_system.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (MonitorValue)实体类
 *
 * @author makejava
 * @since 2021-05-19 15:52:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MonitorValue implements Serializable {
    private static final long serialVersionUID = 887206930489316396L;

    private Object id;
    /**
     * 监控项
     */
    private Integer unitId;
    /**
     * 监控项的值
     */
    private double monitorValue;
    /**
     * 本条记录创建时间
     */
    private String createTime;
    /**
     * 监控项的名字
     */
    private String monitorName;

    @Override
    public String toString() {
        return "MonitorValue{" +
                "id=" + id +
                ", unitId='" + unitId + '\'' +
                ", monitorValue='" + monitorValue + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
